package com.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;



public class Plan {
    private String pid;

    private String pname;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pstar;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pend;

    private String pcontent;

    private String pmakeren;

    private Integer pstate;

    private Double pcoutmoney;

	public Plan() {
		super();
	}

	public Plan(String pid, String pname, Date pstar, Date pend,
			String pcontent, String pmakeren, Integer pstate, Double pcoutmoney) {
		super();
		this.pid = pid;
		this.pname = pname;
		this.pstar = pstar;
		this.pend = pend;
		this.pcontent = pcontent;
		this.pmakeren = pmakeren;
		this.pstate = pstate;
		this.pcoutmoney = pcoutmoney;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}


	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public Date getPstar() {
		return pstar;
	}

	public void setPstar(Date pstar) {
		this.pstar = pstar;
	}

	public Date getPend() {
		return pend;
	}

	public void setPend(Date pend) {
		this.pend = pend;
	}

	public String getPcontent() {
		return pcontent;
	}

	public void setPcontent(String pcontent) {
		this.pcontent = pcontent;
	}

	public String getPmakeren() {
		return pmakeren;
	}

	public void setPmakeren(String pmakeren) {
		this.pmakeren = pmakeren;
	}

	public Integer getPstate() {
		return pstate;
	}

	public void setPstate(Integer pstate) {
		this.pstate = pstate;
	}

	public Double getPcoutmoney() {
		return pcoutmoney;
	}

	public void setPcoutmoney(Double pcoutmoney) {
		this.pcoutmoney = pcoutmoney;
	}

    
}